<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <f:view>

        <head>
            <link href="styles.css" rel="stylesheet" type="text/css"/>
            <title>
                <h:outputText value="#{msgs.pageTitlecli}"/>
            </title>
        </head>
        <body>
            <h:form>
                <table>
                    <tr>
                        <td>
                            <h:outputText value="#{msgs.name}"/>
                        </td>
                        <td>
                            <h:inputText value="#{ctrCliente.cliente.nome}" required="true"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <h:outputText value="#{msgs.cpf}"/>
                        </td>
                        <td>
                            <h:inputText value="#{ctrCliente.cliente.cpf}" required="true"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <h:outputText value="#{msgs.rg}"/>
                        </td>
                        <td>
                            <h:inputText value="#{ctrCliente.cliente.rg}" required="true"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <h:outputText value="#{msgs.address}"/>
                        </td>
                        <td>
                            <h:inputText value="#{ctrCliente.cliente.endereco}" required="true"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <h:outputText value="#{msgs.birth}"/>
                        </td>
                        <td>
                            <h:inputText value="#{ctrCliente.cliente.dataNascimento}" required="true">
                                <f:convertDateTime pattern="dd/MM/yyyy" timeZone="GMT-3"/>
                            </h:inputText>
                        </td>
                    </tr>
                </table>
                <h:commandButton value="Alterar" action="#{ctrCliente.alterar}"/>
            </h:form>
        </body>
    </f:view>
</html>
